import request from '@/utils/request'

// 查询APP信息授权列表
export function listApplyAppInfo(query) {
    return request({
        url: '/business/ApplyAppInfo/list',
        method: 'get',
        params: query
    })
}

// 查询APP信息授权详细
export function getApplyAppInfo(id) {
    return request({
        url: '/business/ApplyAppInfo/' + id,
        method: 'get'
    })
}

// 新增APP信息授权
export function addApplyAppInfo(data) {
    return request({
        url: '/business/ApplyAppInfo',
        method: 'post',
        data: data
    })
}

// 修改APP信息授权
export function updateApplyAppInfo(data) {
    return request({
        url: '/business/ApplyAppInfo',
        method: 'put',
        data: data
    })
}

// 删除APP信息授权
export function delApplyAppInfo(id) {
    return request({
        url: '/business/ApplyAppInfo/' + id,
        method: 'delete'
    })
}

// 导出APP信息授权
export function exportApplyAppInfo(query) {
    return request({
        url: '/business/ApplyAppInfo/export',
        method: 'get',
        params: query
    })
}